set.seed(123456)

## to get the right version of packages, did:
## library(checkpoint)
## checkpoint("2015-03-30")

## set up the first time using library(packrat); packrat::init()

source("packrat/init.R")

if(R.Version()$version.string != "R version 3.2.0 (2015-04-16)"){
  warning("Exact replication of the empirical results in Section 4 may require R version 3.2.0, which you are not currently using.")
}

library(knitr)

args <- "randresp"
knit("randresp.Rnw")
system("pdflatex randresp.tex")
system("pdflatex randresp.tex")
system("pdflatex randresp.tex")

